package o;

import android.graphics.Bitmap;
import android.graphics.ImageDecoder;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
import java.io.IOException;
import java.io.InputStream;

@RequiresApi(api = 28)
public final class xa implements se<InputStream, Bitmap> {
    private final wi ˏ = new wi();

    @Nullable
    public /* synthetic */ tx ˎ(@NonNull Object obj, int i, int i2, @NonNull sc scVar) throws IOException {
        return ˏ((InputStream) obj, i, i2, scVar);
    }

    public boolean ˊ(@NonNull InputStream inputStream, @NonNull sc scVar) throws IOException {
        return true;
    }

    @Nullable
    public tx<Bitmap> ˏ(@NonNull InputStream inputStream, int i, int i2, @NonNull sc scVar) throws IOException {
        return this.ˏ.ॱ(ImageDecoder.createSource(aam.ˋ(inputStream)), i, i2, scVar);
    }
}
